package com.pm.business.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;

/**
 * 历史业绩对象 compete_enterprise_history_project
 * 
 * @author zxl
 * @date 2022-05-07
 */
public class CompeteEnterpriseHistoryProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工程ID */
    private Long projectId;

    /** 竞争单位ID */
    private Long enterpriseId;
    private String enterpriseName;
    /** 工程名称 */
    @Excel(name = "工程名称")
    private String projectName;

    /** 建设单位 */
    @Excel(name = "建设单位")
    private String constructEnterprise;

    /** 中标时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "中标时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bidDate;

    /** 中标金额（万元） */
    @Excel(name = "中标金额", readConverterExp = "万=元")
    private Double bidAmount;

    /** 竣工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "竣工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completeTime;

    /** 项目经理 */
    @Excel(name = "项目经理")
    private String projectManager;

    /** 创建者 */
    private String creator;

    /** 竞争单位历史项目获奖信息 */
    private List<CompeteEnterpriseProjectAward> competeEnterpriseProjectAwardList;

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setConstructEnterprise(String constructEnterprise) 
    {
        this.constructEnterprise = constructEnterprise;
    }

    public String getConstructEnterprise() 
    {
        return constructEnterprise;
    }
    public void setBidDate(Date bidDate) 
    {
        this.bidDate = bidDate;
    }

    public Date getBidDate() 
    {
        return bidDate;
    }
    public void setBidAmount(Double bidAmount)
    {
        this.bidAmount = bidAmount;
    }

    public Double getBidAmount()
    {
        return bidAmount;
    }
    public void setCompleteTime(Date completeTime) 
    {
        this.completeTime = completeTime;
    }

    public Date getCompleteTime() 
    {
        return completeTime;
    }
    public void setProjectManager(String projectManager) 
    {
        this.projectManager = projectManager;
    }

    public String getProjectManager() 
    {
        return projectManager;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public List<CompeteEnterpriseProjectAward> getCompeteEnterpriseProjectAwardList()
    {
        return competeEnterpriseProjectAwardList;
    }

    public void setCompeteEnterpriseProjectAwardList(List<CompeteEnterpriseProjectAward> competeEnterpriseProjectAwardList)
    {
        this.competeEnterpriseProjectAwardList = competeEnterpriseProjectAwardList;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("enterpriseId", getEnterpriseId())
            .append("projectName", getProjectName())
            .append("constructEnterprise", getConstructEnterprise())
            .append("bidDate", getBidDate())
            .append("bidAmount", getBidAmount())
            .append("completeTime", getCompleteTime())
            .append("projectManager", getProjectManager())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("competeEnterpriseProjectAwardList", getCompeteEnterpriseProjectAwardList())
            .toString();
    }
}
